<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
 </tr>
 </tbody>
</table>
</div>
<body bgcolor="#ffffff">
<table width="100%">
  <tr>
    <td width="30%" align="left" valign="center">
      <a href="https://github.com/open-source-parsers/jsoncpp">
      JsonCpp project page
      </a>
    </td>
    <td width="20%" align="center" valign="center">
      <a href="hierarchy.html">
        Classes
      </a>
    </td>
    <td width="20%" align="center" valign="center">
      <a href="namespace_json.html">
        Namespace
      </a>
    </td>
    <td width="30%" align="right" valign="center">
      <a href="http://open-source-parsers.github.io/jsoncpp-docs/doxygen/">JsonCpp home page</a>
    </td>
  </tr>
</table>
<hr>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_json_1_1_features.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_json_1_1_features-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Json::Features Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Configuration passed to reader and writer.  
 <a href="class_json_1_1_features.html#details">More...</a></p>

<p><code>#include &lt;json/features.h&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad15a091cb61bb31323299a95970d2644"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_features.html#ad15a091cb61bb31323299a95970d2644">Features</a> ()</td></tr>
<tr class="memdesc:ad15a091cb61bb31323299a95970d2644"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize the configuration like JsonConfig::allFeatures;.  <a href="#ad15a091cb61bb31323299a95970d2644">More...</a><br /></td></tr>
<tr class="separator:ad15a091cb61bb31323299a95970d2644"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a63894da6e2c100b38741fa933f3d33ae"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_json_1_1_features.html">Features</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_features.html#a63894da6e2c100b38741fa933f3d33ae">all</a> ()</td></tr>
<tr class="memdesc:a63894da6e2c100b38741fa933f3d33ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">A configuration that allows all features and assumes all strings are UTF-8.  <a href="#a63894da6e2c100b38741fa933f3d33ae">More...</a><br /></td></tr>
<tr class="separator:a63894da6e2c100b38741fa933f3d33ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae23176c14b2e79e81fb61fb1a8ab58ee"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_json_1_1_features.html">Features</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_features.html#ae23176c14b2e79e81fb61fb1a8ab58ee">strictMode</a> ()</td></tr>
<tr class="memdesc:ae23176c14b2e79e81fb61fb1a8ab58ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">A configuration that is strictly compatible with the JSON specification.  <a href="#ae23176c14b2e79e81fb61fb1a8ab58ee">More...</a><br /></td></tr>
<tr class="separator:ae23176c14b2e79e81fb61fb1a8ab58ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a33afd389719624b6bdb23950b3c346c9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_features.html#a33afd389719624b6bdb23950b3c346c9">allowComments_</a></td></tr>
<tr class="memdesc:a33afd389719624b6bdb23950b3c346c9"><td class="mdescLeft">&#160;</td><td class="mdescRight"><code>true</code> if comments are allowed. Default: <code>true</code>.  <a href="#a33afd389719624b6bdb23950b3c346c9">More...</a><br /></td></tr>
<tr class="separator:a33afd389719624b6bdb23950b3c346c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1162c37a1458adc32582b585b552f9c3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_features.html#a1162c37a1458adc32582b585b552f9c3">strictRoot_</a></td></tr>
<tr class="memdesc:a1162c37a1458adc32582b585b552f9c3"><td class="mdescLeft">&#160;</td><td class="mdescRight"><code>true</code> if root must be either an array or an object value.  <a href="#a1162c37a1458adc32582b585b552f9c3">More...</a><br /></td></tr>
<tr class="separator:a1162c37a1458adc32582b585b552f9c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5076aa72c05c7596ac339ede36c97a6a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_features.html#a5076aa72c05c7596ac339ede36c97a6a">allowDroppedNullPlaceholders_</a></td></tr>
<tr class="memdesc:a5076aa72c05c7596ac339ede36c97a6a"><td class="mdescLeft">&#160;</td><td class="mdescRight"><code>true</code> if dropped null placeholders are allowed. Default: <code>false</code>.  <a href="#a5076aa72c05c7596ac339ede36c97a6a">More...</a><br /></td></tr>
<tr class="separator:a5076aa72c05c7596ac339ede36c97a6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff3cb16b79d15d3d761b11a0dd6d4d6b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_features.html#aff3cb16b79d15d3d761b11a0dd6d4d6b">allowNumericKeys_</a></td></tr>
<tr class="memdesc:aff3cb16b79d15d3d761b11a0dd6d4d6b"><td class="mdescLeft">&#160;</td><td class="mdescRight"><code>true</code> if numeric object key are allowed. Default: <code>false</code>.  <a href="#aff3cb16b79d15d3d761b11a0dd6d4d6b">More...</a><br /></td></tr>
<tr class="separator:aff3cb16b79d15d3d761b11a0dd6d4d6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Configuration passed to reader and writer. </p>
<p>This configuration object can be used to force the <a class="el" href="class_json_1_1_reader.html" title="Unserialize a JSON document into a Value. ">Reader</a> or <a class="el" href="class_json_1_1_writer.html" title="Abstract class for writers. ">Writer</a> to behave in a standard conforming way. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ad15a091cb61bb31323299a95970d2644"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad15a091cb61bb31323299a95970d2644">&#9670;&nbsp;</a></span>Features()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Json::Features::Features </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialize the configuration like JsonConfig::allFeatures;. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a63894da6e2c100b38741fa933f3d33ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63894da6e2c100b38741fa933f3d33ae">&#9670;&nbsp;</a></span>all()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_json_1_1_features.html">Features</a> Json::Features::all </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A configuration that allows all features and assumes all strings are UTF-8. </p>
<ul>
<li>C &amp; C++ comments are allowed</li>
<li>Root object can be any JSON value</li>
<li>Assumes <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> strings are encoded in UTF-8 </li>
</ul>

</div>
</div>
<a id="ae23176c14b2e79e81fb61fb1a8ab58ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae23176c14b2e79e81fb61fb1a8ab58ee">&#9670;&nbsp;</a></span>strictMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_json_1_1_features.html">Features</a> Json::Features::strictMode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A configuration that is strictly compatible with the JSON specification. </p>
<ul>
<li>Comments are forbidden.</li>
<li>Root object must be either an array or an object value.</li>
<li>Assumes <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> strings are encoded in UTF-8 </li>
</ul>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a33afd389719624b6bdb23950b3c346c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33afd389719624b6bdb23950b3c346c9">&#9670;&nbsp;</a></span>allowComments_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Json::Features::allowComments_</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>true</code> if comments are allowed. Default: <code>true</code>. </p>

</div>
</div>
<a id="a5076aa72c05c7596ac339ede36c97a6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5076aa72c05c7596ac339ede36c97a6a">&#9670;&nbsp;</a></span>allowDroppedNullPlaceholders_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Json::Features::allowDroppedNullPlaceholders_</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>true</code> if dropped null placeholders are allowed. Default: <code>false</code>. </p>

</div>
</div>
<a id="aff3cb16b79d15d3d761b11a0dd6d4d6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff3cb16b79d15d3d761b11a0dd6d4d6b">&#9670;&nbsp;</a></span>allowNumericKeys_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Json::Features::allowNumericKeys_</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>true</code> if numeric object key are allowed. Default: <code>false</code>. </p>

</div>
</div>
<a id="a1162c37a1458adc32582b585b552f9c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1162c37a1458adc32582b585b552f9c3">&#9670;&nbsp;</a></span>strictRoot_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Json::Features::strictRoot_</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>true</code> if root must be either an array or an object value. </p>
<p>Default: <code>false</code>. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>include/json/<a class="el" href="features_8h.html">features.h</a></li>
<li>src/lib_json/<a class="el" href="json__reader_8cpp.html">json_reader.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.13-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_json.html">Json</a></li><li class="navelem"><a class="el" href="class_json_1_1_features.html">Features</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
